package com.example.databasepj.entity;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class HistoryPriceEntity {
    private int dish_id;
    private float price;
    private java.time.LocalDateTime modify_time;

    public HistoryPriceEntity(int dish_id, float price, LocalDateTime modify_time) {
        this.dish_id = dish_id;
        this.price = price;
        this.modify_time = modify_time;
    }

    public int getDish_id() {
        return dish_id;
    }

    public void setDish_id(int dish_id) {
        this.dish_id = dish_id;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public LocalDateTime getModify_time() {
        return modify_time;
    }

    public void setModify_time(LocalDateTime modify_time) {
        this.modify_time = modify_time;
    }
}
